package Entities;

import Logic.Square;

public class GameCharacter extends Square{
	private String name;
	private String freeBaseID;
	private int ID;
	private int strength;
	private int durability;
	private int dexterity;
	
	public GameCharacter(String name1,String freeBaseID1,int id){
		super(Square.Type.Soldier);
		name=name1;
		freeBaseID=freeBaseID1;
		ID=id;
	}
	
	public String getName(){
		return name;
	}
	
	public String getfreeBaseID(){
		return freeBaseID;
	}
	
	public int getStrength(){
		return strength;
	}
	
	public int getDurability(){
		return durability;
	}
	public int getDexterity(){
		return dexterity;
	}
	public int getID(){
		return ID;
	}
	
	@Override public boolean equals(Object aThat) {
	    return this.ID == ((GameCharacter)aThat).getID();
	}
}
